package my.ts.code.viewgroup;

import android.content.Context;
import android.view.LayoutInflater;
import android.widget.ImageView;
import android.widget.LinearLayout;
import my.ts.code.*; 

public class CustomViewGroupGallery extends LinearLayout {
	public ImageView img;

	public CustomViewGroupGallery(Context context) {

		super(context);
		LayoutInflater li = (LayoutInflater) this.getContext()
				.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
		li.inflate(R.layout.gallery_item, this, true);
		img = (ImageView) findViewById(R.id.img);
	}
}
